package wei.qiang.ye.sbspringmvcdemo.enums;

public enum ResponseEnum {
    SUCCESS("0000", "成功"),
    Fail("0001", "失败");

    private String code;
    private String description;

    ResponseEnum(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
